package xinyu.customer.news.data;

import com.logos.common.base.BasePresenter;
import com.logos.common.base.BaseView;
import com.logos.common.source.network.entity.BaseNetEntity;

import java.util.List;

import xinyu.customer.bean.NewsMainNetTopBean;
import xinyu.customer.bean.NewsNoteBean;


public interface NewsTabNoteContract {

    /**
     * presenter
     */
    interface Presenter extends BasePresenter {
        void getNoteList(int pageNum,String custId);
    }

    /**
     * view
     */
    interface View extends BaseView<Presenter> {

        void showLoading();

        void hideLoading();

        void showMessage(String message);

        void onNoteListSuccess(BaseNetEntity<List<NewsNoteBean>> listBaseNetEntity);
    }
}
